package com.zzq.service;

import com.aliyuncs.exceptions.ClientException;
import com.zzq.domain.dto.SmileFeeDTO;
import com.zzq.result.SmileResult;
import com.zzq.domain.dto.SmileShootAddressDTO;
import com.zzq.domain.entity.SmileShootAddressApply;
import com.zzq.domain.search.ShootAddressSearchParamet;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface ShootAddressService {


     SmileResult list( ShootAddressSearchParamet searchParamet);
     SmileResult add( SmileShootAddressDTO shootAddress);

     SmileResult addAddressSample(Long shootAddressId,MultipartFile file) throws IOException, ClientException;
     SmileResult delAddressSample(Long shootAddressSampleId);
     SmileResult feeUpd(SmileFeeDTO smileFeeDTO);
     SmileResult addPhoto(Long shootAddressId,MultipartFile file) throws IOException, ClientException;

     SmileResult getApply(SmileShootAddressApply apply);
     SmileResult addApply(SmileShootAddressApply apply);
     SmileResult getQRCode(ShootAddressSearchParamet searchParamet) throws Exception;

}
